<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                template="./../template/admin.xhtml"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://xmlns.jcp.org/jsf/core"
                xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">

    <ui:define name="header">
        <f:event type="preRenderView" listener="#{u_memberManagedBean.fixpage('image')}"/>
    </ui:define>

    <ui:define name="context">

        <div class="new_products">

            <p:lightBox styleClass="imagebox">

                <c:forEach var="i" items="#{a_albumManagedBean.album.imagesList}">

                    <h:outputLink value="../resources/user/images/album/#{i.images}" title="#{i.images}"> 
                        <div class="new_prod_box">

                            ${i.images}
                            <div class="new_prod_bg">
                                <h:graphicImage library="user/images/album" name="#{i.images}" width="88" 
                                                height="96" class="thumb"/>   
                            </div>  
                        </div>
                    </h:outputLink>

                </c:forEach>

            </p:lightBox>

        </div>

    </ui:define>

</ui:composition>
